// redux-thunk中间件在action中有异步操作
export const addCount = (n) => (dispatch, getState) => {
  dispatch({ type: 'num_add', payload: n })
}
